/* Dialog Styles */
#admin-chitietddh-wrap {
    width: 640px;
    background: url(../img/dialog-bg.png) repeat-x;
    margin: 5% auto;
    padding: 10px;
}

#admin-chitietddh-wrap h3 {
    padding: 5px;
    float: left;
    border-bottom: 1px solid #ccc;
    margin: 5px 5px 15px;
}

#admin-chitietddh-wrap h3+* {
    clear: left;
}

#admin-chitietddh-wrap table {
    width: 100%;
    border-left: 1px solid #dedede;
    border-top: 1px solid #dedede;
    border-collapse: collapse;
    text-align: left;
}

#admin-chitietddh-wrap table thead th {
    padding: 8px 10px;
    border-bottom: 1px solid #ded;
    border-right: 1px solid #dedede;
    box-shadow: 3px 3px 4px -3px #000;
}

#admin-chitietddh-wrap table tbody td {
    padding: 10px;
    box-shadow: 2px 2px 3px -4px;
    border-right: 1px solid #dedede;
    border-bottom: 1px solid #dedede;
}

#admin-chitietddh-wrap table tbody tr:first-child td {
    padding-top: 10px;
}

#admin-chitietddh-wrap table tfoot td {
    padding: 10px;
    border-bottom: 1px solid #dedede;
    border-right: 1px solid #dedede;
}

#admin-chitietddh-wrap table tfoot td:first-child {
    text-align: center;

}

#admin-chitietddh-wrap table tfoot td:last-child {
    font-weight: bold;
}

table.dondh-list {
    border-collapse: collapse;
    width: 100%;
    border-top: 1px solid #dedede;
}

table.dondh-list th {
    height: 25px;
    border-bottom: 1px solid #ccc;
    padding: 5px 10px;
    border-right: 1px solid #ddd;
}

table.dondh-list th.maddh {
    width: 70px;
}

table.dondh-list th.ngaydh {
    width: 90px;
}

table.dondh-list th.hotenkh {
    width: 150px;
}

table.dondh-list td {
    padding: 4px 10px;
    border-bottom: 1px solid #ddd;
    border-right: 1px solid #ddd;
}

table.dondh-list tbody tr:hover {
    background: url(../img/row-bg-hover.png) center left repeat-x;
}

tr.selected, tr.selected:hover {
    background: url(../img/row-bg-selected.png) top left repeat-x !important;
}

.functions {
    margin: 5px 10px 20px;
    text-align: right;
}

.functions a {
    margin: 5px 0 0 10px;
    text-decoration: none;
    color: #4c8eba;
    text-shadow: 0 1px 0 #ccc;
    padding-left: 20px;
    background: url(../img/ok_hover.png) no-repeat;
}

.functions a:hover {
    color: #8b80ff;
    background: url(../img/ok.png) no-repeat;
}

.functions a.delete {
    background: url(../img/erase_hover.png) no-repeat;
}

.functions a.delete:hover {
    background: url(../img/erase.png) no-repeat;
}